const tokenKey = 'token'
const refreshTokenKey = 'refToken'
export function getToken() {
  return window.localStorage.getItem(tokenKey)
}

export function setToken(token) {
  return window.localStorage.setItem(tokenKey, token)
}

export function removeToken() {
  return window.localStorage.removeItem(tokenKey)
}

export function getRefToken() {
  return window.localStorage.getItem(refreshTokenKey)
}
export function setRefToken(reftoken) {
  return window.localStorage.setItem(refreshTokenKey, reftoken)
}
